import React, { useMemo } from "react";
import { Image, ImageProps } from "antd-mobile";
export interface UnknowPreviewProps extends ImageProps {}
const UnknowPreview = ({ style, ...otr }: UnknowPreviewProps) => {
  const Render = useMemo<React.FC>(() => {
    return () => <Image height={80} style={{ aspectRatio: 1, ...style }} {...otr}></Image>;
  }, [otr.src]);
  return <Render></Render>;
};
export default UnknowPreview;
